package com.haikesi.api.sysarea.service.impl;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.haikesi.api.base.Constants;
import com.haikesi.api.base.Type;
import com.haikesi.api.base.User;
import com.haikesi.api.mode.dao.PlatformModeDao;
import com.haikesi.api.mode.domain.po.PlatformModePO;
import com.haikesi.api.sysarea.dao.SysAreaDao;
import com.haikesi.api.sysarea.domain.vo.SysAreaVO;
import com.haikesi.api.sysarea.domain.vo.SysSearchAreaVO;
import com.haikesi.api.sysarea.service.ISysAreaService;
import com.haikesi.api.timertask.dao.TimerTaskDao;
import com.haikesi.api.timertask.dao.TimerTaskModeDao;
import com.haikesi.api.timertask.domain.po.TimerTaskModePO;
import com.haikesi.api.timertask.domain.po.TimerTaskPO;
import com.haikesi.api.timertask.domain.vo.*;
import com.haikesi.api.timertask.service.ITimerTaskService;
import com.haikesi.api.typetemplate.dao.TypeTemplateMapper;
import com.haikesi.api.typetemplate.domain.po.TypeTemplatePO;
import com.haikesi.exception.BusinessException;
import com.haikesi.util.ApcosApiUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import tk.mybatis.mapper.entity.Example;

import java.util.*;
import java.util.Map.Entry;

@Service
@Transactional
public class SysAreaService implements ISysAreaService {

    @Autowired
    private SysAreaDao dao;


    @Override
    public List<SysAreaVO> getList(SysSearchAreaVO searchAreaVO) {
        return dao.getList(searchAreaVO);
    }
}
